#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#define PI 3.14

int main()
{
	double v;
	int r;
	scanf("%d", &r);
	v = 4 * PI*r*r*r / 3;
	printf("%lf\n", v);
	return 0;
}